package LoggerProxy;

public class Test {
	public static void main(String[] args){
	        BusinessInterface businessObj = (BusinessInterface) new BusinessObject();
	        LoggerProxy dynamicProxy = new LoggerProxy(businessObj );
	        BusinessInterface  proxyObj = (BusinessInterface)dynamicProxy.bind(businessObj);
	        ((BusinessObject) proxyObj).processBusiness();
	        //print result
	        //method before........
	        //business logic......
	        //method after.......
	    }

}
